﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using OgilvyOne.Model;

namespace OgilvyOne.IDAL
{
    public interface ICmsArticleMap
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <returns></returns>
        int Add(CmsArticleMapModel model);
        /// <summary>
        /// 删除
        /// </summary>
        /// <returns></returns>
        bool Delete(int mid);
        /// <summary>
        /// 修改
        /// </summary>
        /// <returns></returns>
        bool Update(CmsArticleMapModel model);
        /// <summary>
        /// 查询列表
        /// </summary>
        /// <returns></returns>
        IList GetMapList(string str);
        /// <summary>
        /// 查询单个
        /// </summary>
        /// <returns></returns>
        CmsArticleMapModel GetMap(string mid);
    }
}
